<template>
    <div class="sdy-secrch-list">
        <ul>
            <li
            v-for="item in searchList"
            :key="item.proid">
            {{item.proname}}
            </li>
        </ul>
    </div>

</template>

<script setup lang="ts">
import { inject } from 'vue'
//导入 相关 ts  接口
import type { MyhotItem } from '@/config/interface'
const searchList = inject<MyhotItem[]>('searchList')
console.log(searchList)




</script>


<style scoped lang="scss">

</style>